//
//  IBInspectableView.m
//  DEMO
//
//  Created by J on 16/5/17.
//  Copyright © 2016年 J. All rights reserved.
//

#import "IBInspectableView.h"
IB_DESIGNABLE
@implementation IBInspectableView

- (void)setCornerRadius:(CGFloat)cornerRadius{
    _cornerRadius = cornerRadius;
    self.layer.cornerRadius  = _cornerRadius;
    self.layer.masksToBounds = YES;
}

- (void)setBcolor:(UIColor *)bcolor{
    _bcolor = bcolor;
    self.layer.borderColor = _bcolor.CGColor;
}

- (void)setBwidth:(CGFloat)bwidth {
    _bwidth = bwidth;
    self.layer.borderWidth = _bwidth;
}
- (void)setAlphaValue:(CGFloat )alphaValue{
    _alphaValue = alphaValue;
    self.alpha = alphaValue;
    
}
@end
